export const setStorage = (key: string, value: any) => {
    return value === undefined ? window.localStorage.removeItem(key) : window.localStorage.setItem(key, JSON.stringify(value))
}